package com.xiaomaoguai.groovy

/**
 *
 * @fileName: First.java
 * @author: WeiHui.Zhang
 * @date: 2016-11-16  16:17    
 * @version: v1.0.0
 */
class First {

    static int[] a = [1, 2, 3];

    public static void main(String[] args) {
        print(a)

        Object o = "Object";
        int result = method(o);

        GroovyTestCase.assertEquals(1, result);
    }

    static int method(Object arg) {
        return 2;
    }

    static int method(String arg) {
        return 1;
    }


}
